﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header.ascx.cs" Inherits="WebApplication.UserControls.Header" %>
 <!--Top-->
        <div class="top_container">
            <div class="top_date">
                <strong> <%= DateTime.Now.ToLongDateString()%> | <span class="blue">Welcome</span></strong></div>
            <div class="top_links">
                <a href="#">Site Map</a><a href="#">Site Features</a><a href="#">Advertisement</a></div>
        </div>
        <!--Top-->
        <!--Header-->
        <div class="logo">
            <h1>
                <a href="../default.aspx">
                    <img src="../images/savory-logo.png" width="251" height="52" alt="" border="0" /></a></h1>
            <br />
        </div>
        <div class="listing_icon_container">
            <div class="blue_list fright">
                <div class="blue_list_left">
                    &nbsp;</div>
                <div class="blue_list_bg">
                    <a href="#">Saved Search [<%=intSaveSearch%>]</a></div>
                <div class="blue_list_rt">
                    &nbsp;</div>
            </div>
            <div class="green_list fright">
                <div class="green_list_left">
                    &nbsp;</div>
                <div class="green_list_bg">
                    <a href="#">Saved Listing [<%=intSaveListing%>]</a></div>
                <div class="green_list_rt">
                    &nbsp;</div>
            </div>
            <div class="grey_list fright">
                <div class="grey_list_left">
                    &nbsp;</div>
                <div class="grey_list_bg">
                    <a href="#">Viewed Listing [<%=intviewedListing%>]</a></div>
                <div class="grey_list_rt">
                    &nbsp;</div>
            </div>
        </div>
        <br />
        <br />
        <br />
        <div class="user-info fright">
            Welcome 
            <% if (Session["UserID"].ToString() != "Guest")
                       {
                           Response.Write("<a href='../ManageAccount/Account_Overview.aspx'><strong>" + Session["UserID"].ToString() + "</strong></a>  |");
                       }
                   
                       %>
            
            <asp:LinkButton ID="lnkSignIn" runat="server" Text="Guest" CausesValidation="false" Visible="false" OnClick="lnkSignIn_Click"></asp:LinkButton>
            <asp:LinkButton ID="btnSignout" runat="server" CssClass="red_btn" CausesValidation="false" Text="Sign Out" Visible="false" OnClick="btnSignout_Click" />  
            
            
        </div>
        <div class="clear">
        </div>